home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / var / db / pkg / x11-libs / evas-9999 / evas-9999.ebuild < prev    next >
Text File  |  2006-01-09  |  2KB  |  75 lines

  1. # Copyright 1999-2005 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: /var/cvsroot/gentoo-x86/x11-libs/evas/evas-9999.ebuild,v 1.12 2005/12/14 06:58:24 cardoe Exp $
  4.  
  5. inherit enlightenment flag-o-matic
  6.  
  7. DESCRIPTION="hardware-accelerated canvas API"
  8.  
  9. IUSE="X directfb fbcon jpeg mmx opengl png sse cairo altivec"
  10.  
  11. RDEPEND="X? ( || ( x11-libs/libXrender virtual/x11 ) )
  12.     opengl? ( virtual/opengl )
  13.     >=media-libs/imlib2-1.2.0
  14.     >=dev-libs/eet-0.9.9
  15.     >=dev-db/edb-1.0.5
  16.     png? ( media-libs/libpng )
  17.     jpeg? ( media-libs/jpeg )
  18.     directfb? ( >=dev-libs/DirectFB-0.9.16 )
  19.     cairo? ( >=x11-libs/cairo-0.2.0 )
  20.     dev-util/pkgconfig"
  21. #    X? ( xcb-util )
  22.  
  23. DEPEND="${RDEPEND}
  24.     X? ( || ( (    x11-proto/xextproto
  25.             x11-proto/xproto )
  26.             virtual/x11 ) )"
  27.  
  28. src_compile() {
  29. #        $(use_enable X software-xcb)
  30.     export MY_ECONF="
  31.         $(use_enable X software-x11) \
  32.         $(use_enable directfb) \
  33.         $(use_enable fbcon fb) \
  34.         --enable-buffer \
  35.         $(use_enable opengl gl-x11) \
  36.         $(use_enable X xrender-x11) \
  37.         $(use_enable png image-loader-png) \
  38.         $(use_enable jpeg image-loader-jpeg) \
  39.         --enable-image-loader-eet \
  40.         --enable-font-loader-eet \
  41.         --enable-image-loader-edb \
  42.         $(use_enable mmx cpu-mmx) \
  43.         $(use_enable sse cpu-mmx) \
  44.         $(use_enable sse cpu-sse) \
  45.         $(use_enable altivec cpu-altivec) \
  46.         $(use_enable cairo cairo-x11) \
  47.         --enable-cpu-c \
  48.         --enable-scale-sample \
  49.         --enable-scale-smooth \
  50.         --enable-convert-8-rgb-332 \
  51.         --enable-convert-8-rgb-666 \
  52.         --enable-convert-8-rgb-232 \
  53.         --enable-convert-8-rgb-222 \
  54.         --enable-convert-8-rgb-221 \
  55.         --enable-convert-8-rgb-121 \
  56.         --enable-convert-8-rgb-111 \
  57.         --enable-convert-16-rgb-565 \
  58.         --enable-convert-16-rgb-555 \
  59.         --enable-convert-16-rgb-444 \
  60.         --enable-convert-16-rgb-rot-0 \
  61.         --enable-convert-16-rgb-rot-270 \
  62.         --enable-convert-16-rgb-rot-90 \
  63.         --enable-convert-24-rgb-888 \
  64.         --enable-convert-24-bgr-888 \
  65.         --enable-convert-32-rgb-8888 \
  66.         --enable-convert-32-rgbx-8888 \
  67.         --enable-convert-32-bgr-8888 \
  68.         --enable-convert-32-bgrx-8888 \
  69.         --enable-convert-32-rgb-rot-0 \
  70.         --enable-convert-32-rgb-rot-270 \
  71.         --enable-convert-32-rgb-rot-90 \
  72.     "
  73.     enlightenment_src_compile
  74. }
  75.